package org.sanguine.plugin.timetracker.events;

import org.sanguine.plugin.timetracker.pojo.Project;
import org.sanguine.plugin.timetracker.pojo.Task;

import java.awt.event.ActionEvent;

/**
 * <p>
 * </p>
 * <p>
 * <b>Date:</b> 21.11.2014
 * </p>
 *
 * @author Alexey_Kuznetsov
 */
public class StartTimerEvent extends ActionEvent {
    private final Project project;
    private final Task task;
    private final String notes;

    public String getNotes() {
        return notes;
    }

    public Project getProject() {
        return project;
    }

    public Task getTask() {
        return task;
    }

    public StartTimerEvent(Object source, int id, String command, Project project, Task task, String notes) {
        super(source, id, command);
        this.project = project;
        this.task = task;
        this.notes = notes;
    }
}
